import random
secret = random.randint(1,200)

print('------猜数字游戏-----')
guess = 0
while guess != secret:
    temp = input('猜数字游戏开始，猜一个1-200的整数：')
    guess = int(temp)
    if guess > secret:
        print('您输入的数字大了，往小点猜！')
    else:
        print('您输入的数字小了，往大点猜！')
if guess == secret:
    print('恭喜，您猜对了！')
    print('ENDING')